package com.future.requestbean;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

import lombok.Data;

@Data
public class Teacher {
	@NotBlank(message="姓名不能为空")
	private String name;
	private String school;
	private int age;
	private String jxln;
	@NotNull(message="班级不能为空")
	private Long bjid;
	private String zwjs;
	private String photo;
	@NotBlank(message = "登录名不能为空")
	private String  loginUsername;
}
